'use strict';
module.exports = function(app){
    var BookList = require('../controllers/bookListController.js');

     app.route('/books')
    .get(BookList.all_books)
    .post(BookList.create_book);

     app.route('/books/:bookId')
     .get(BookList.read_book);
};
